package com.njtoyo.taxi.admin.rest.presenter.business.driver;

import com.njtoyo.taxi.admin.mapper.master.entity.DriverExtraInformation;
import com.njtoyo.taxi.admin.mapper.master.enums.MemberLevel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "司机列表模型")
public class DriverListPresenter {
    @ApiModelProperty(value = "司机ID")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号码")
    private String mobileNumber;

    @ApiModelProperty(value = "会员ID")
    private Long memberId;

    @ApiModelProperty(value = "会员等级")
    private MemberLevel memberLevel;

    @ApiModelProperty(value = "车俩ID")
    private Long taxiId;

    @ApiModelProperty(value = "车牌号")
    private String taxiPlatNumber;

    @ApiModelProperty(value = "行政区ID")
    private Long cantonId;

    @ApiModelProperty(value = "行政区名称")
    private String cantonName;

    @ApiModelProperty(value = "司机运营区ID")
    private Long driverRegionId;

    @ApiModelProperty(value = "司机运营区")
    private String driverRegionName;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "注册时间")
    private Date createdAt;

    @ApiModelProperty(value = "是否离职")
    private Boolean isLeave;

    @ApiModelProperty(value = "离职时间")
    private Date leaveTime;

    @ApiModelProperty(value = "是否在线")
    private Boolean inService;

    @ApiModelProperty(value = "最后更新时间")
    private Date updatedAt;

    @ApiModelProperty(value = "是否激活")
    private Boolean isActive;

    @ApiModelProperty(value = "是否首次登录")
    private Boolean loginOnce;

    private String vehicleLicenceNumber;
    private String qualificationCertificateNumber;
    private DriverExtraInformation extraInfo;
    private String identityNumber;

    private String version;
    private Date loginTime;
    private Date gpsTime;
}
